import Link from 'umi/link';
import { Result, Button } from 'antd';
import React from 'react';
import { formatMessage } from 'umi-plugin-react/locale';

export default () => (
  <Result
    status="403"
    title="403"
    style={{
      background: 'none',
    }}
    subTitle={formatMessage({
      id: 'exceptionand403.description.403',
      defaultMessage: "抱歉, 你没有权限查看当前页面.",
    })}
    extra={
      <div></div>
      // <Link to="/">
      //   <Button type="primary">
      //     {'返回首页'}
      //   </Button>
      // </Link>
    }
  />
);
